<?php
include_once '../../common.inc.php';
$sql = "select * from xd_city";
$citys = $db->getAll($sql);
foreach($citys as $city) {
//	$city['areaid']
//	$city['name']
	if (!preg_match("/(.*?){$city['name']}(.*?)/is", $AREA[$city['areaid']]['areaname'])) {
		echo $AREA[$city['areaid']]['areaname'] .'-----'.$city['name'].'<br/>';
	}
}